Skip to content

ME-41:Fix windows build error for invalid URI - #45

Merged
wikumChamith merged 2 commits into
openmrs:mainfrom
sudhanshu-raj:ME-41
Sep 25, 2026
Merged

wikumChamith merged 2 commits into
openmrs:mainfrom
sudhanshu-raj:ME-41

Conversation

@sudhanshu-raj

@sudhanshu-raj sudhanshu-raj commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Description of what I changed

Resolve the build error for Windows due to the Initializer's InitializerMessageSource classpath scanning which results in invalid URI syntax error. This module not uses any message source from Initializer module so it's safe to skip scanning their classpath to fetch message properties.

Issue I worked on

see https://openmrs.atlassian.net/browse/ME-41

Checklist: I completed these to help reviewers :)

  • My IDE is configured to follow the code style of this project.

    No? Unsure? -> configure your IDE, format the code and add the changes with git add . && git commit --amend

  • I have added tests to cover my changes. (If you refactored
    existing code that was well tested you do not have to add tests)

    No? -> write tests and add them to this commit git add . && git commit --amend

  • I ran mvn clean package right before creating this pull request and
    added all formatting changes to my commit.

    No? -> execute above command

  • All new and existing tests passed.

    No? -> figure out why and add the fix to your commit. It is your responsibility to make sure your code works.

  • My pull request is based on the latest changes of the master branch.

    No? Unsure? -> execute command git pull --rebase upstream master

@sudhanshu-raj

Copy link
Copy Markdown
Contributor Author

@wikumChamith please review this

@wikumChamith

Copy link
Copy Markdown
Member

@sudhanshu-raj can you share more details on this error, like the full error logs? You can add them to the JIRA ticket.

@sudhanshu-raj

Copy link
Copy Markdown
Contributor Author

@sudhanshu-raj can you share more details on this error, like the full error logs? You can add them to the JIRA ticket.

Attached on the JIRA ticket .

@Bawanthathilan

Copy link
Copy Markdown
Contributor

@sudhanshu-raj can you fix this merge conflict

@sudhanshu-raj

Copy link
Copy Markdown
Contributor Author

@sudhanshu-raj can you fix this merge conflict

Done !

@jayasanka-sack

Copy link
Copy Markdown
Member

@sudhanshu-raj The build is failing due to a code formatting error. Could you please fix it and let us know?

# Conflicts:
#	api/src/test/resources/TestingApplicationContext.xml
@sudhanshu-raj

Copy link
Copy Markdown
Contributor Author

@sudhanshu-raj The build is failing due to a code formatting error. Could you please fix it and let us know?

Ahh didn't notice, my bad, fixed

@wikumChamith wikumChamith left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sudhanshu-raj Actually, this is a temporary workaround. We need to fix the error at the source. Can you create a PR in the initializer module with the fix?

@wikumChamith
wikumChamith merged commit 1a16e3e into openmrs:main Sep 25, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants